summaryrefslogtreecommitdiff
path: root/indra/newview/CMakeLists.txt
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-02-13 10:51:21 -0500
committerOz Linden <oz@lindenlab.com>2013-02-13 10:51:21 -0500
commit8556e63796867f1e58a77aeef1c34a6f03ee8962 (patch)
tree9edb56ae40bb90d7a3a5fff3de80d5034815f3d0 /indra/newview/CMakeLists.txt
parentf96e9d67b4eea56b485eb8a6fbf6c70a3f622c8d (diff)
correct include path for generated viewerRes.rc
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r--indra/newview/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 5d0d8c617a..e77d888466 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1398,13 +1398,17 @@ if (WINDOWS)
PROPERTIES HEADER_FILE_ONLY TRUE)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/res/viewerRes.rc
- ${CMAKE_CURRENT_BINARY_DIR}/res/viewerRes.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/viewerRes.rc
)
set(viewer_RESOURCE_FILES
- ${CMAKE_CURRENT_BINARY_DIR}/res/viewerRes.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/viewerRes.rc
${viewer_RESOURCE_FILES}
)
+ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/viewerRes.rc
+ PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/res"
+ )
+
SOURCE_GROUP("Resource Files" FILES ${viewer_RESOURCE_FILES})
if (NOT STANDALONE)