CMake/Tests/Fortran/Executable/CMakeLists.txt

9 lines
295 B
CMake
Raw Normal View History

include_directories(${Library_MODDIR})
2010-01-29 00:48:20 +03:00
include_directories(${External_BINARY_DIR})
link_directories(${External_BINARY_DIR})
add_executable(subdir_exe2 main.f90)
target_link_libraries(subdir_exe2 subdir_mods)
add_dependencies(subdir_exe2 ExternalTarget)
target_link_libraries(subdir_exe2 myext)