File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1- set (LIB_ENABLE_INSTALL ${YSTDLIB_CPP_ENABLE_INSTALL} )
21set (LIB_BUILD_INTERFACE ${YSTDLIB_CPP_BUILD_INCLUDE_DIRS} )
32set (LIB_INSTALL_INTERFACE ${YSTDLIB_CPP_INSTALL_INCLUDE_DIRS} )
43
@@ -7,8 +6,8 @@ set(LIB_INSTALL_INTERFACE ${YSTDLIB_CPP_INSTALL_INCLUDE_DIRS})
76# CMake function for adding C++ libraries with sources, dependencies, and build settings.
87#
98# Parameters:
9+ # NAME: name of the library target
1010# NAMESPACE: namespace of the library
11- # NAME: name of target
1211function (cpp_library)
1312 set (options )
1413 set (oneValueArgs
@@ -24,12 +23,6 @@ function(cpp_library)
2423 ${ARGN}
2524 )
2625
27- if (LIB_ENABLE_INSTALL)
28- set (_TARGET_LIB_NAME "${arg_cpp_lib_NAME} " )
29- else ()
30- set (_TARGET_LIB_NAME "${arg_cpp_lib_NAMESPACE} _${arg_cpp_lib_NAME} " )
31- endif ()
32-
3326 add_library (${_TARGET_LIB_NAME} INTERFACE )
3427 target_include_directories (
3528 ${_TARGET_LIB_NAME}
You can’t perform that action at this time.
0 commit comments