diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78485ab72d..4f0ba19961 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,6 +166,7 @@ if(WIN32) set(CMAKE_INSTALL_LIBDIR ".") set(CMAKE_INSTALL_INCLUDEDIR "include") set(CMAKE_INSTALL_DATADIR ".") + set(CMAKE_INSTALL_DOCDIR ".") else() # By default INSTALL_DATADIR is set to INSTALL_DATAROOTDIR, set the # proper value here. diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index f5f9435383..fb5059529d 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -229,7 +229,7 @@ install( FILES ${HTML_INSTALL_FILES} DESTINATION - ${CMAKE_INSTALL_DATADIR} + ${CMAKE_INSTALL_DOCDIR} ) # |