af1f698757
Storing it in the makefile means that the policy does not trigger when include and export are in differing directories.
10 lines
141 B
CMake
10 lines
141 B
CMake
|
|
enable_language(CXX)
|
|
|
|
cmake_policy(SET CMP0024 NEW)
|
|
|
|
add_library(foo SHARED empty.cpp)
|
|
|
|
add_subdirectory(subdir1)
|
|
add_subdirectory(subdir2)
|