diff options
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 926fed0..e2e63a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,15 +3,14 @@ cmake_minimum_required(VERSION 3.10) project(WEP) find_package(SDL2 REQUIRED) -include_directories(${SDL2_INCLUDE_DIRS}) + +add_subdirectory(cards) +include_directories(cards) if(NOT MSVC) add_compile_options(-Wall -Wextra -pedantic) endif() -include_directories(cards) -add_library(cards STATIC cards/cards.c) - add_executable(sol sol.c) add_executable(freecell freecell.c) |