Skip to content

Commit

Permalink
minor cmake change
Browse files Browse the repository at this point in the history
  • Loading branch information
sfarrens committed Feb 26, 2018
1 parent be3282f commit b6d4cae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ project(sparse2d)
add_executable(${program} ${PROJECT_SOURCE_DIR}/src/${program}.cc)
target_link_libraries(${program} mga2d sparse2d sparse1d tools)
if(SPARSE3D)
# target_link_libraries(${program} sparse3d)
target_link_libraries(${program} mga2d sparse3d sparse2d sparse1d tools)
endif(SPARSE3D)
endforeach(program)
Expand Down Expand Up @@ -177,7 +176,7 @@ project(sparse2d)
add_executable(${program} ${PROJECT_SOURCE_DIR}/tests/${program}.cpp)
target_link_libraries(${program} mga2d sparse2d sparse1d tools)
if(SPARSE3D)
target_link_libraries(${program} sparse3d)
target_link_libraries(${program} mga2d sparse3d sparse2d sparse1d tools)
endif(SPARSE3D)
add_test(${program} ${program})
endforeach(program)

0 comments on commit b6d4cae

Please sign in to comment.