aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/scenepic/fix-CMakeInstall.patch
blob: e78955cdc2a32827653bc5b6bc7ee892d3e88b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2a14bb..7a06c65 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,8 +186,8 @@ endif()
 # -------------------- Install ------------------------------------
 
 set(INSTALL_CONFIGDIR cmake)
-set(INSTALL_LIBDIR build/native/lib)
-set(INSTALL_INCLUDEDIR build/native/include)
+set(INSTALL_LIBDIR lib)
+set(INSTALL_INCLUDEDIR include)
 
 install(TARGETS scenepic 
   EXPORT scenepic-targets
@@ -195,7 +195,7 @@ install(TARGETS scenepic
   LIBRARY DESTINATION ${INSTALL_LIBDIR}
 )
 
-if( WIN32 )
+if( 0 )
   if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
     install(FILES
       $<TARGET_FILE_DIR:scenepic>/scenepic.pdb
diff --git a/src/scenepic/CMakeLists.txt b/src/scenepic/CMakeLists.txt
index f3d9673..916ab28 100644
--- a/src/scenepic/CMakeLists.txt
+++ b/src/scenepic/CMakeLists.txt
@@ -47,7 +47,7 @@ target_compile_features(scenepic PRIVATE cxx_std_14)
 
 target_include_directories( scenepic
   PUBLIC
-    $<INSTALL_INTERFACE:build/native/include>
+    $<INSTALL_INTERFACE:include>
     $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include/scenepic>
     $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
   PRIVATE