File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -231,17 +231,9 @@ macro(nbl_create_ext_library_project EXT_NAME LIB_HEADERS LIB_SOURCES LIB_INCLUD
231
231
project (${LIB_NAME} )
232
232
233
233
add_library (${LIB_NAME} ${LIB_SOURCES} )
234
- get_target_property (_NBL_NABLA_TARGET_BINARY_DIR_ Nabla BINARY_DIR )
235
234
236
- # TODO: correct those bugs, use generator expressions
237
235
target_include_directories (${LIB_NAME}
238
- PUBLIC ${_NBL_NABLA_TARGET_BINARY_DIR_} /build/import
239
- PUBLIC ${CMAKE_BINARY_DIR} /include/nbl/config/debug
240
- PUBLIC ${CMAKE_BINARY_DIR} /include/nbl/config/release
241
- PUBLIC ${CMAKE_BINARY_DIR} /include/nbl/config/relwithdebinfo
242
- PUBLIC ${CMAKE_SOURCE_DIR} /include
243
- PUBLIC ${CMAKE_SOURCE_DIR} /src
244
- PUBLIC ${CMAKE_SOURCE_DIR} /source/Nabla
236
+ PUBLIC $< TARGET_PROPERTY:Nabla,INCLUDE_DIRECTORIES>
245
237
PRIVATE ${LIB_INCLUDES}
246
238
)
247
239
You can’t perform that action at this time.
0 commit comments