diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-30 15:27:10 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-30 15:28:37 +0200 |
commit | ae231cfe3d71b22cb1cdd4870b62c858366beab0 (patch) | |
tree | ebd1b115266abcd294aced5af839273a7974ee18 | |
parent | 0f3d191a7003183033e663bb975c0909d26c7b8c (diff) | |
download | serenity-ae231cfe3d71b22cb1cdd4870b62c858366beab0.zip |
Lagom: Set project() right away
Checking CMAKE_CXX_COMPILER_ID before project() does not work.
-rw-r--r-- | Lagom/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lagom/CMakeLists.txt b/Lagom/CMakeLists.txt index e164c37c04..a96bb6b3a8 100644 --- a/Lagom/CMakeLists.txt +++ b/Lagom/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required (VERSION 3.0) +project (Lagom) set(CMAKE_CXX_FLAGS "-O2 -Wall -Wextra -Werror -std=c++17 -fPIC") @@ -8,8 +9,6 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-expansion-to-defined") endif() -project (Lagom) - file(GLOB AK_SOURCES "../AK/*.cpp") file(GLOB LIBCORE_SOURCES "../Libraries/LibCore/*.cpp") |