1) binaries are compiled into /bin subdirectory of build directory
[unres.git] / CMakeLists.txt
index 3a2d1d7..54c8f7f 100644 (file)
@@ -99,6 +99,10 @@ else()
   set( CMAKE_VERBOSE_MAKEFILE 1 )
 endif (CMAKE_BUILD_TYPE STREQUAL "Release")
 
+# Default Install Path
+
+set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/bin" CACHE PATH "Binary install directory " FORCE)
+
 #=======================================  
 # Set the varous build variables 
 #=======================================
@@ -156,13 +160,6 @@ message("Detected ${architektura}-bit architecture")
 # used by unres/src_MIN
 find_package (Threads)
 
-
-
-#=======================================
-#  Create diractories for build targets
-#=======================================
-#execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/bin/unres/MD )
-
 #=======================================
 # Add source files
 #=======================================