File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ endmacro()
8888# [LINK_LIBRARIES]: List of **public** libraries to use when linking
8989# note: ortools::ortools is always linked to the target
9090# [LINK_OPTIONS]: List of private link options
91+ # [INSTALL_DIR]: relative path to install public headers
9192# e.g.:
9293# add_cxx_library(
9394# NAME
@@ -142,8 +143,8 @@ function(add_cxx_library)
142143 ${LIBRARY_HEADERS}
143144 ${LIBRARY_SOURCES}
144145 )
145- target_compile_definitions (${LIBRARY_NAME} PRIVATE ${LIBRARY_COMPILE_DEFINITIONS} )
146146 target_compile_features (${LIBRARY_NAME} PRIVATE cxx_std_20)
147+ target_compile_definitions (${LIBRARY_NAME} PRIVATE ${LIBRARY_COMPILE_DEFINITIONS} )
147148 target_compile_options (${LIBRARY_NAME} PRIVATE ${LIBRARY_COMPILE_OPTIONS} )
148149 target_link_libraries (${LIBRARY_NAME} PUBLIC ${LIBRARY_LINK_LIBRARIES} )
149150 target_link_options (${LIBRARY_NAME} PRIVATE ${LIBRARY_LINK_OPTIONS} )
You can’t perform that action at this time.
0 commit comments