~panda-roux/MoonGem

MoonGem/lib/CMakeLists.txt -rw-r--r-- 336 bytes
fc5c595e — panda-roux adding -p to mkdir 22 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
# suppress 'option()' warning
cmake_policy(SET CMP0077 NEW)

set(ARGPARSE_SHARED OFF)
set(ARGPARSE_STATIC ON)
set(ARGPARSE_LIBRARIES argparse PARENT_SCOPE)
set(ARGPARSE_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/argparse" PARENT_SCOPE)
add_subdirectory(argparse)

set(WYHASH_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/wyhash" PARENT_SCOPE)