From f2c7c11c33fec6d7aadfaf7c53ca6281971055d7 Mon Sep 17 00:00:00 2001 From: Carlisle Wishard Date: Thu, 13 Oct 2022 12:51:34 -0400 Subject: [PATCH] updated the path to the executable may have done this wrong bc I can't find the executable after compiling --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c28691f0e..dd6f5b08d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ SET(USER ${SRC}/user) SET(UTIL ${SRC}/util) SET(WALLTIME ${SRC}/walltime) SET(WHM ${SRC}/whm) +SET(EXE ${SRC}) # Have the .mod files placed in the lib folder SET(CMAKE_Fortran_MODULE_DIRECTORY ${LIB}) @@ -79,9 +80,6 @@ SET(CMAKE_Fortran_MODULE_DIRECTORY ${LIB}) # The source for the FOO binary and have it placed in the bin folder ADD_SUBDIRECTORY(${EXE} ${BIN}) -# The source for the EXE binary and have it placed in the bin folder -ADD_SUBDIRECTORY(${FOOEXE} ${BIN}) - # Add a distclean target to the Makefile ADD_CUSTOM_TARGET(distclean COMMAND ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/distclean.cmake