From e18972cfde843d012b472b87a345f4ca4b3888bb Mon Sep 17 00:00:00 2001 From: zabulus Date: Tue, 3 May 2016 10:39:28 +0300 Subject: [PATCH] Force include winapifamily.h for windows store --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95fdca67..11bd9822 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,9 @@ if(NOT CRYPTOPP_DATA_DIR STREQUAL "") add_definitions(-DCRYPTOPP_DATA_DIR="${CRYPTOPP_DATA_DIR}") endif() +if(WINDOWS_STORE) + SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI\"winapifamily.h\"" ) +endif() #============================================================================ # Sources & headers #============================================================================