diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-10-26 14:17:15 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2016-10-28 10:40:16 +0800 |
commit | e2247862eab2782e61af505b1a5656831ec6a5f0 (patch) | |
tree | e2820e9a1b69b970a010486d39437ac718937173 | |
parent | d11e98917c2f5800aa52883a56ee10e82288b99e (diff) | |
download | fqterm-e2247862eab2782e61af505b1a5656831ec6a5f0.tar.xz |
Move ``find_package(OpenSSL)`` to protocol/CMakeLists.txt
Files in ``protocol`` directory need ${OPENSSL_INCLUDE_DIR}, but this
include is not done when building in this directory if the
find_package statement is in ${SRC_ROOT}/CMakeLists.txt.*.
-rw-r--r-- | CMakeLists.txt.freebsd | 1 | ||||
-rw-r--r-- | CMakeLists.txt.linux | 1 | ||||
-rw-r--r-- | CMakeLists.txt.macos | 2 | ||||
-rw-r--r-- | CMakeLists.txt.mingw | 1 | ||||
-rw-r--r-- | src/protocol/CMakeLists.txt | 1 |
5 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt.freebsd b/CMakeLists.txt.freebsd index 4970568..e8c1317 100644 --- a/CMakeLists.txt.freebsd +++ b/CMakeLists.txt.freebsd @@ -1,4 +1,3 @@ -find_package(OpenSSL REQUIRED) find_package(OSS) set(CMAKE_VERBOSE_MAKEFILE ON) diff --git a/CMakeLists.txt.linux b/CMakeLists.txt.linux index 1bef176..1535dc5 100644 --- a/CMakeLists.txt.linux +++ b/CMakeLists.txt.linux @@ -1,4 +1,3 @@ -find_package(OpenSSL REQUIRED) find_package(ALSA) find_package(OSS) diff --git a/CMakeLists.txt.macos b/CMakeLists.txt.macos index bc972df..a192b92 100644 --- a/CMakeLists.txt.macos +++ b/CMakeLists.txt.macos @@ -1,5 +1,3 @@ -find_package(OpenSSL REQUIRED) - ADD_DEFINITIONS(-Wall) if(FQTERM_USE_STATIC_QT) diff --git a/CMakeLists.txt.mingw b/CMakeLists.txt.mingw index 9163144..b0fc8c1 100644 --- a/CMakeLists.txt.mingw +++ b/CMakeLists.txt.mingw @@ -1,4 +1,3 @@ -find_package(OpenSSL REQUIRED) #ADD_DEFINITIONS(-DUSE_DOTNET_STYLE) if(FQTERM_USE_STATIC_QT) diff --git a/src/protocol/CMakeLists.txt b/src/protocol/CMakeLists.txt index c6cf81d..cd7d2f4 100644 --- a/src/protocol/CMakeLists.txt +++ b/src/protocol/CMakeLists.txt @@ -1,3 +1,4 @@ +find_package(OpenSSL REQUIRED) set(CMAKE_AUTOMOC ON) set(export_SRCS |