mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 86c937a..99d2aa3 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -28,7 +28,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
include(GNUInstallDirs)
|
|
|
|
include(CTest)
|
|
-enable_testing()
|
|
+# enable_testing()
|
|
|
|
# Setup platform-specific threading flags.
|
|
find_package(Threads REQUIRED)
|
|
@@ -113,9 +113,11 @@ endif ()
|
|
include_directories(src/ptex)
|
|
|
|
add_subdirectory(src/ptex)
|
|
+if(0)
|
|
add_subdirectory(src/utils)
|
|
add_subdirectory(src/tests)
|
|
if (PTEX_BUILD_DOCS)
|
|
add_subdirectory(src/doc)
|
|
endif ()
|
|
+endif()
|
|
add_subdirectory(src/build)
|
|
diff --git a/src/ptex/CMakeLists.txt b/src/ptex/CMakeLists.txt
|
|
index 3f238e0..7d6fccb 100644
|
|
--- a/src/ptex/CMakeLists.txt
|
|
+++ b/src/ptex/CMakeLists.txt
|
|
@@ -44,7 +44,10 @@ if(PTEX_BUILD_SHARED_LIBS)
|
|
PUBLIC Threads::Threads
|
|
PRIVATE libdeflate::libdeflate_shared
|
|
)
|
|
- install(TARGETS Ptex_dynamic EXPORT Ptex DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
+ install(TARGETS Ptex_dynamic EXPORT Ptex
|
|
+ RUNTIME DESTINATION ${BIN_INSTALL_DIR}
|
|
+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
|
|
+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
|
|
endif()
|
|
|
|
install(FILES
|