Skip to content

Commit

Permalink
Move C and C++ flags override to laf library
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Mar 2, 2020
1 parent d86bbcc commit 00fa254
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Aseprite
# Copyright (C) 2018-2020 Igara Studio S.A.
# Copyright (C) 2001-2018 David Capello

cmake_minimum_required(VERSION 3.4)
Expand All @@ -23,13 +24,6 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()

# Restrict configuration types to the selected build type.
# Note: This needs to be done before the project command
set(CMAKE_CONFIGURATION_TYPES "${CMAKE_BUILD_TYPE}" CACHE INTERNAL "internal")

set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/c_flag_overrides.cmake)
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_flag_overrides.cmake)

# Aseprite project
project(aseprite C CXX)

Expand Down
6 changes: 0 additions & 6 deletions cmake/c_flag_overrides.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions cmake/cxx_flag_overrides.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion laf

0 comments on commit 00fa254

Please sign in to comment.