Skip to content

Commit

Permalink
fix sco CMakeLists.txt, thx Dmitry
Browse files Browse the repository at this point in the history
  • Loading branch information
joschu committed Jan 21, 2016
1 parent effe273 commit 06ee076
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sco/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ if (HAVE_BPMPD)

set(BPMPD_WORKING_DIR ${CMAKE_CURRENT_BINARY_DIR})
set_property(SOURCE bpmpd_caller.cpp APPEND PROPERTY COMPILE_DEFINITIONS BPMPD_WORKING_DIR="${BPMPD_WORKING_DIR}")
file(COPY bpmpd.par ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY bpmpd.par DESTINATION ${CMAKE_CURRENT_BINARY_DIR})


set_property(SOURCE solver_interface.cpp APPEND PROPERTY COMPILE_DEFINITIONS HAVE_BPMPD )
endif()
Expand All @@ -60,4 +61,4 @@ endif()
target_link_libraries(sco ${SCO_LINK_LIBS})


add_subdirectory(test)
add_subdirectory(test)

0 comments on commit 06ee076

Please sign in to comment.