mirror of
https://github.com/reactos/CMake.git
synced 2025-01-05 18:38:46 +00:00
9998d78d63
Remove unnecessary language initializations. Change the main CMakeLists.txt project() call to specify NONE. Use enable_language(CXX) instead of project() in cases that need it to avoid enabling C too.
10 lines
258 B
CMake
10 lines
258 B
CMake
|
|
enable_language(CXX)
|
|
|
|
add_library(testTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
|
|
|
|
add_library(imported UNKNOWN IMPORTED)
|
|
set_property(TARGET imported PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")
|
|
|
|
target_link_libraries(testTarget imported)
|