Skip to content

Commit

Permalink
fix error in building the C++ examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolos Chalkis committed Oct 14, 2023
1 parent bd0fbb5 commit 5752b36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/logconcave/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif(COMMAND cmake_policy)

option(DISABLE_NLP_ORACLES "Disable non-linear oracles (used in collocation)" ON)
option(BUILTIN_EIGEN "Use eigen from ../external" OFF)
option(USE_MKL "Use MKL library to build eigen" ON)
option(USE_MKL "Use MKL library to build eigen" OFF)

if(DISABLE_NLP_ORACLES)
add_definitions(-DDISABLE_NLP_ORACLES)
Expand Down Expand Up @@ -148,7 +148,6 @@ else ()
add_executable (simple_ode simple_ode.cpp)
add_executable (simple_uld simple_uld.cpp)
add_executable (simple_sde simple_sde.cpp)
add_executable (simple_nuts simple_nuts.cpp)
add_executable (high_dimensional_hmc high_dimensional_hmc.cpp)
add_executable (high_dimensional_hmc_rand_poly high_dimensional_hmc_rand_poly.cpp)
add_executable (exponential_exact_hmc exponential_exact_hmc.cpp)
Expand All @@ -163,7 +162,6 @@ else ()
TARGET_LINK_LIBRARIES(simple_sde ${LP_SOLVE} ${BLAS} ${MKL_LINK} )
TARGET_LINK_LIBRARIES(simple_uld ${LP_SOLVE} ${BLAS} ${MKL_LINK} )
TARGET_LINK_LIBRARIES(simple_hmc ${LP_SOLVE} ${BLAS} ${MKL_LINK} )
TARGET_LINK_LIBRARIES(simple_nuts ${LP_SOLVE} ${MKL_LINK})
TARGET_LINK_LIBRARIES(exponential_exact_hmc ${LP_SOLVE} ${BLAS} ${MKL_LINK} )
TARGET_LINK_LIBRARIES(gaussian_exact_hmc ${LP_SOLVE} ${BLAS} ${MKL_LINK} )

Expand Down

0 comments on commit 5752b36

Please sign in to comment.