mirror of https://github.com/procxx/kepka.git
Move policy setting to root cmakefile [sq]
This commit is contained in:
parent
27f0d2c1b8
commit
583af6b525
|
@ -10,6 +10,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
|||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
# Ignore automoc-ing generated files (@tbd?)
|
||||
cmake_policy(SET CMP0071 OLD)
|
||||
|
||||
# Needs OpenAL-SOFT
|
||||
# Install via `brew install openal-soft` and configure with `env OPENALDIR=/usr/local/opt/openal-soft`
|
||||
|
|
|
@ -2,9 +2,6 @@ find_package(Qt5Core REQUIRED)
|
|||
find_package(Qt5Gui REQUIRED)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
|
||||
# Ignore automoc-ing generated files (@tbd?)
|
||||
cmake_policy(SET CMP0071 OLD)
|
||||
|
||||
include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Core_PRIVATE_INCLUDE_DIRS})
|
||||
include_directories(${Qt5Gui_INCLUDE_DIRS} ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
|
||||
include_directories(${Qt5Widgets_INCLUDE_DIRS} ${Qt5Widgets_PRIVATE_INCLUDE_DIRS})
|
||||
|
|
Loading…
Reference in New Issue