CMake/Tests/CMakeCommands/target_link_libraries/subdir/CMakeLists.txt

6 lines
127 B
CMake

set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
add_library(subdirlib SHARED subdirlib.cpp)
generate_export_header(subdirlib)