Skip to content

Commit 24ac8b9

Browse files
author
Viviane Rochon Montplaisir
committed
last minute fixes
1 parent ed45fe8 commit 24ac8b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/advanced/library/FixedVariable/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
add_executable(fixedVariable.exe fixedVariable.cpp )
2+
add_executable(ufl.exe u.cpp )
23

34
target_include_directories(fixedVariable.exe PRIVATE
45
${CMAKE_SOURCE_DIR}/src)
@@ -13,7 +14,7 @@ else()
1314
endif()
1415

1516
# installing executables and libraries
16-
install(TARGETS fixedVariable.exe
17+
install(TARGETS fixedVariable.exe ufl.exe
1718
RUNTIME DESTINATION ${CMAKE_CURRENT_SOURCE_DIR} )
1819

1920
# Add a test for this example

examples/advanced/library/FixedVariable/fixedVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void initParams1(NOMAD::AllParameters &p)
5757
// parameters creation
5858
size_t n = 5; // Number of variables
5959
p.getPbParams()->setAttributeValue("DIMENSION", n);
60-
p.getEvalParams()->setAttributeValue("BB_EXE", std::string("./u.exe"));
60+
p.getEvalParams()->setAttributeValue("BB_EXE", std::string("./ufl.exe"));
6161

6262
NOMAD::Point x0(n, 6.0);
6363
x0[0] = 4;

0 commit comments

Comments
 (0)