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.
1 parent 544aacb commit 56056edCopy full SHA for 56056ed
CMakeLists.txt
@@ -152,6 +152,9 @@ function(lsllib_properties libname)
152
target_include_directories(${libname}
153
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
154
)
155
+ set_target_properties(${libname} PROPERTIES
156
+ POSITION_INDEPENDENT_CODE On
157
+ CXX_VISIBILITY_PRESET hidden)
158
target_compile_definitions(${libname} PRIVATE
159
LIBLSL_EXPORTS
160
_SCL_SECURE_NO_WARNINGS _CRT_SECURE_NO_WARNINGS
0 commit comments