summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-28 04:55:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-28 04:55:16 +0100
commit8342cffaaf496021c452b0a3166428fb3beb4316 (patch)
tree6eb4f0d7cc16eee8c3fab77c484b188eef9e065e
parent04c49d4406031c2fac9cee97bbfaaf19c5e9be9a (diff)
fix build
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76a917a0..ae7a7faa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ if(SDK_GOOGLE_BREAKPAD AND WIN32)
include_directories("${SDK_GOOGLE_BREAKPAD}/src/")
endif()
-if (WIN32 AND DEFINED MSVC_VERSION AND NOT ${MSVC_VERSION} LESS 1700)
+if(WIN32 AND DEFINED MSVC_VERSION AND NOT ${MSVC_VERSION} LESS 1700)
find_path (WIN8_SDK_ROOT_DIR
Include/um/windows.h
PATHS
@@ -50,10 +50,9 @@ if (WIN32 AND DEFINED MSVC_VERSION AND NOT ${MSVC_VERSION} LESS 1700)
DOC "Windows 8 SDK root directory"
)
- if (WIN8_SDK_ROOT_DIR)
+ if(WIN8_SDK_ROOT_DIR)
SET(CMAKE_LIBRARY_PATH "${WIN8_SDK_ROOT_DIR}/Lib/win8/um/x86")
- endif ()
- endif ()
+ endif()
endif()
if(WIN32 AND DEFINED MSVC_VERSION AND NOT ${MSVC_VERSION} LESS 1700)