From d93999bda52187c46c27504ed26516350046394a Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 1 Oct 2014 19:50:31 -0700 Subject: bullet-1-pkgconfig: improve patch for upstream submission --- src/bullet-1-pkgconfig.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bullet-1-pkgconfig.patch b/src/bullet-1-pkgconfig.patch index 235e57e..7b8dc52 100644 --- a/src/bullet-1-pkgconfig.patch +++ b/src/bullet-1-pkgconfig.patch @@ -8,7 +8,7 @@ See index.html for further information. SET(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/bullet/" CACHE PATH "The subdirectory to the header prefix") SET(PKGCONFIG_INSTALL_PREFIX "${CMAKE_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 @@ -16,7 +16,7 @@ See index.html for further information. DESTINATION ${PKGCONFIG_INSTALL_PREFIX}) - ENDIF(NOT WIN32) -+ ++ ENDIF(NOT MSVC) ENDIF(INSTALL_LIBS) #INSTALL of other files requires CMake 2.6 -- cgit v0.12