Skip to content

Commit

Permalink
Update core-driver/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Benson <[email protected]>
  • Loading branch information
bvanessen and benson31 authored Sep 24, 2024
1 parent 5acdc25 commit 6f95b72
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions core-driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
cmake_minimum_required(VERSION 3.21.0)
project(lbann-test-driver CXX)
find_package(LBANN 0.102.0 REQUIRED)
add_executable(lbann-core main.cpp)
target_link_libraries(lbann-core PRIVATE LBANN::lbann)
add_executable(lbann-test-driver main.cpp)
target_link_libraries(lbann-test-driver PRIVATE LBANN::lbann)

#target_link_libraries(lbann-bin lbann)
set_target_properties(lbann-core
set_target_properties(lbann-test-driver
PROPERTIES
OUTPUT_NAME lbann-core-driver
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

#list(APPEND LBANN_EXE_TGTS lbann-core)

install(TARGETS lbann-core
EXPORT LBANNTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 6f95b72

Please sign in to comment.