Skip to content

Commit

Permalink
Move API tested back to main binary directory because of Windows runt…
Browse files Browse the repository at this point in the history
…ime requirements
  • Loading branch information
godotalgorithm committed Oct 18, 2024
1 parent b516488 commit 271dba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ if(TESTS)
endif()
message(FATAL_ERROR "Python3 and Numpy are required for MOPAC testing (testing can be disabled with -DTESTS=OFF)")
endif()
add_executable(mopac-api-test)
target_link_libraries(mopac-api-test mopac-core)
if (STATIC_BUILD)
target_link_options(mopac-api-test PUBLIC "-static")
endif()
enable_testing()
add_subdirectory(tests)
endif()
Expand Down
5 changes: 0 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ macro(add_mopac_test _name _files)
endmacro()

#===============================================
add_executable(mopac-api-test)
target_link_libraries(mopac-api-test mopac-core)
if (STATIC_BUILD)
target_link_options(mopac-api-test PUBLIC "-static")
endif()
# Create a list of source files (src_list) with the .F90 extension
set(src_list
mopac_api_test
Expand Down

0 comments on commit 271dba4

Please sign in to comment.