Skip to content

Commit 0ba17cb

Browse files
committed
PCMSolver_BINDIR computed where needed
1 parent 904210e commit 0ba17cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/PCMSolverConfig.cmake.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ else()
101101
endif()
102102
endif()
103103

104-
get_filename_component(PCMSolver_BINDIR ${${PN}_EXECUTABLE} DIRECTORY)
105104
set(${PN}_LAUNCHER ${PACKAGE_PREFIX_DIR}/@INSTALL_BINDIR@/go_pcm.py)
106105

107106
# find library: shared, static, or whichever

tests/standalone/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
get_filename_component(PCMSolver_BINDIR ${PCMSolver_EXECUTABLE} DIRECTORY)
2+
13
# Copy input files to ${PROJECT_BINARY_DIR}/tests/standalone (aka ${CMAKE_CURRENT_BINARY_DIR})
24
file(
35
COPY

0 commit comments

Comments
 (0)