We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76a2024 + 4b8029a commit c5ca4f5Copy full SHA for c5ca4f5
CMakeLists.txt
@@ -1,7 +1,7 @@
1
cmake_minimum_required(VERSION 3.2)
2
project(pystring CXX)
3
4
-set(BUILD_SHARED_LIBS YES)
+option (BUILD_SHARED_LIBS "Build shared libraries (set to OFF to build static libs)" ON)
5
6
add_library(pystring
7
pystring.cpp
@@ -19,4 +19,8 @@ include(GNUInstallDirs)
19
install(TARGETS pystring
20
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
21
)
22
+install (FILES pystring.h
23
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
24
+ COMPONENT developer
25
+)
26
0 commit comments