diff --git a/CMakeLists.txt b/CMakeLists.txt index b8807e5..e630187 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ file(GLOB source_files ) set(SOURCES ${source_files}) +set(CMAKE_INSTALL_PREFIX ./project_build) +message (STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}") + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) option(BUILD_SHARED_LIBS "Build shared libraries" OFF) @@ -40,4 +43,4 @@ if(WIN32) VERBATIM) endif() -install(TARGETS ${PROJECT_NAME}) \ No newline at end of file +install(TARGETS ${PROJECT_NAME})