myx/MyxCMake/backports/CheckIPOSupported/CMakeLists-CXX.txt.in

9 lines
226 B
Plaintext
Raw Normal View History

2022-10-08 22:01:31 +00:00
cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES CXX)
cmake_policy(SET CMP0069 NEW)
add_library(foo foo.cpp)
add_executable(boo main.cpp)
target_link_libraries(boo PUBLIC foo)