[modules] The modules can include libcalamares and libcalamaresui
- Remove (heavy-handed) top-level include_directories, in favor of more focused ones; this helps to make sure that the dependencies ordering is correct.
This commit is contained in:
parent
16ff8b0767
commit
f60ac5e101
@ -3,15 +3,6 @@ include( CalamaresAddModuleSubdirectory )
|
||||
include( CalamaresAddLibrary )
|
||||
include( CalamaresAddBrandingSubdirectory )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
${CMAKE_CURRENT_LIST_DIR}/libcalamares
|
||||
${CMAKE_CURRENT_LIST_DIR}/libcalamaresui
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libcalamares
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libcalamaresui
|
||||
)
|
||||
|
||||
# library
|
||||
add_subdirectory( libcalamares )
|
||||
|
||||
|
@ -4,6 +4,12 @@
|
||||
# in this list.
|
||||
set( LIST_SKIPPED_MODULES "" )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/libcalamares
|
||||
${CMAKE_BINARY_DIR}/src/libcalamares
|
||||
${CMAKE_SOURCE_DIR}/src/libcalamaresui
|
||||
)
|
||||
|
||||
if( BUILD_TESTING )
|
||||
add_executable( test_conf test_conf.cpp )
|
||||
target_link_libraries( test_conf ${YAMLCPP_LIBRARY} Qt5::Core )
|
||||
|
Loading…
Reference in New Issue
Block a user