summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <erwincoumans@gmail.com>2022-01-29 16:52:03 -0800
committerErwin Coumans <erwincoumans@gmail.com>2022-01-29 16:52:03 -0800
commit6cc267f84b3dc016b09b84d984684b1d1429c311 (patch)
tree8c139c6aee182f392c620fdb6d234e8d68dcaf04
parent478da7469a34074aa051e8720734287ca371fd3e (diff)
downloadbullet3-6cc267f84b3dc016b09b84d984684b1d1429c311.tar.gz
fix cmake build
see also https://github.com/MicrosoftDocs/cpp-docs/issues/2378
-rw-r--r--Extras/BulletRobotics/CMakeLists.txt1
-rw-r--r--Extras/BulletRoboticsGUI/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/Extras/BulletRobotics/CMakeLists.txt b/Extras/BulletRobotics/CMakeLists.txt
index d2ab42334..626721973 100644
--- a/Extras/BulletRobotics/CMakeLists.txt
+++ b/Extras/BulletRobotics/CMakeLists.txt
@@ -304,6 +304,7 @@ INSTALL (
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
IF(NOT MSVC)
+ SET(PKGCONFIG_INSTALL_PREFIX "lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bullet_robotics.pc.cmake
${CMAKE_CURRENT_BINARY_DIR}/bullet_robotics.pc @ONLY)
INSTALL(
diff --git a/Extras/BulletRoboticsGUI/CMakeLists.txt b/Extras/BulletRoboticsGUI/CMakeLists.txt
index 57ab97f24..b503f0c6a 100644
--- a/Extras/BulletRoboticsGUI/CMakeLists.txt
+++ b/Extras/BulletRoboticsGUI/CMakeLists.txt
@@ -183,6 +183,7 @@ ENDIF (BUILD_SHARED_LIBS)
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
IF(NOT MSVC)
+ SET(PKGCONFIG_INSTALL_PREFIX "lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bullet_robotics_gui.pc.cmake
${CMAKE_CURRENT_BINARY_DIR}/bullet_robotics_gui.pc @ONLY)
INSTALL(