From 39c7ed14ac67413ac481aa136d2606d94e24536e Mon Sep 17 00:00:00 2001 From: "Christoph J. Thompson" Date: Mon, 12 Mar 2012 17:31:58 +0100 Subject: If using cmake with MSVC, add the source directory to the includes. modified: CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ee2dbc..39530f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ if(MSVC) set(CMAKE_DEBUG_POSTFIX "d") add_definitions(-D_CRT_SECURE_NO_DEPRECATE) add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}) endif() if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR) -- cgit v1.2.1