aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2019-09-21 09:19:11 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2019-09-21 09:21:13 -0700
commit6934b123d472f8074ac7aea7e1c099b2c5201e7f (patch)
treed24dc3dce200d1674c4c385d17056125ff8c4a7b /CMakeLists.txt
parent6fb765ca9d77d628919655e1ecce05854ab03e6a (diff)
downloadpugixml-6934b123d472f8074ac7aea7e1c099b2c5201e7f.zip
pugixml-6934b123d472f8074ac7aea7e1c099b2c5201e7f.tar.gz
pugixml-6934b123d472f8074ac7aea7e1c099b2c5201e7f.tar.bz2
Move pugixml.rc to scripts/
This keeps src/ folder clean of auxiliary files only required for special builds; note that CMakeLists.txt already depends on scripts/ (specifically for pkgconfig setup).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3489298..927dcbe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,8 +31,9 @@ mark_as_advanced(CLEAR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_INCLUDEDIR)
set(HEADERS src/pugixml.hpp src/pugiconfig.hpp)
set(SOURCES src/pugixml.cpp)
+
if(BUILD_SHARED_LIBS AND MSVC)
- set(PUGIXML_WINDLL_SRCS src/win32/pugixml.rc)
+ set(PUGIXML_WINDLL_SRCS scripts/pugixml_dll.rc)
endif()
if(DEFINED BUILD_DEFINES)