diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 4a268ce4..2ccc3b99 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -28,10 +28,10 @@ if(NOT TARGET gsl::gsl-lite) endif() if(${projectPrefix}BUILD_CXX_MODULES) -add_library(example_utils INTERFACE) -target_compile_definitions(example_utils INTERFACE ${projectPrefix}MODULES) -target_include_directories(example_utils INTERFACE include) -target_link_libraries(example_utils INTERFACE gsl::gsl-lite) + add_library(example_utils INTERFACE) + target_compile_definitions(example_utils INTERFACE ${projectPrefix}MODULES) + target_include_directories(example_utils INTERFACE include) + target_link_libraries(example_utils INTERFACE gsl::gsl-lite) endif() add_library(example_utils-headers INTERFACE)