File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ set(LSL_VERSION_INFO "\"git:${lslgitrevision}/branch:${lslgitbranch}/build:${CMA
132132set_source_files_properties ("src/lsl_freefuncs_c.cpp" PROPERTIES COMPILE_DEFINITIONS LSL_LIBRARY_INFO_STR=${LSL_VERSION_INFO} )
133133
134134set (target lsl)
135- set (lsl_export_targets ${target} )
136135
137136add_subdirectory (${LSL_LSLBOOST_PATH} )
138137
@@ -178,7 +177,6 @@ set_target_properties(${target} PROPERTIES
178177if (${LSL_BUILD_STATIC} )
179178 add_library (${target} -static ${sources} ${headers} )
180179 lsllib_properties(${target} -static )
181- list (APPEND lsl_export_targets "${target} -static" )
182180 # for LSL_CPP_API export header
183181 target_compile_definitions (${target} -static PRIVATE LIBLSL_STATIC)
184182 set_target_properties (${target} -static PROPERTIES
@@ -191,7 +189,7 @@ else()
191189 set (LSLPREFIX "LSL/" )
192190endif ()
193191
194- install (TARGETS ${lsl_export_targets}
192+ install (TARGETS lsl
195193 COMPONENT liblsl
196194 EXPORT "${PROJECT_NAME} Config"
197195 RUNTIME DESTINATION ${LSLPREFIX} lib
You can’t perform that action at this time.
0 commit comments