From 11ab85a4bbfc27ea0f86df9d30058ae2ddf612b9 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 1 Oct 2014 19:56:54 -0700 Subject: [PATCH] Install pkg-config file on MinGW systems as well --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index badac4d99..c605f1e06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -283,14 +283,14 @@ IF(INSTALL_LIBS) ## the following are directories where stuff will be installed to SET(INCLUDE_INSTALL_DIR "include/bullet/" CACHE PATH "The subdirectory to the header prefix") SET(PKGCONFIG_INSTALL_PREFIX "lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files") - IF(NOT WIN32) + IF(NOT MSVC) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bullet.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/bullet.pc @ONLY) INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/bullet.pc DESTINATION ${PKGCONFIG_INSTALL_PREFIX}) - ENDIF(NOT WIN32) + ENDIF(NOT MSVC) ENDIF(INSTALL_LIBS) #INSTALL of other files requires CMake 2.6