diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bd789d..c69d45f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,14 +37,6 @@ ExternalProject_Add (latex-struct INSTALL_DIR bundle ) -ExternalProject_Add (object-example - SOURCE_DIR ${CMAKE_SOURCE_DIR}/object-example - #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle - CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle -# PREFIX object-example - INSTALL_DIR bundle -) - ExternalProject_Add (data-example SOURCE_DIR ${CMAKE_SOURCE_DIR}/data-example #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle @@ -53,6 +45,14 @@ ExternalProject_Add (data-example INSTALL_DIR bundle ) +ExternalProject_Add (object-example + SOURCE_DIR ${CMAKE_SOURCE_DIR}/object-example + #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle + CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle +# PREFIX object-example + INSTALL_DIR bundle +) + INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bundle DESTINATION "win32")