Skip to content

Commit

Permalink
removes spurious "lib" from file path
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdegraef committed Nov 16, 2021
1 parent c1637bd commit 32dfd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/nlopt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if(APPLE)
elseif(WIN32)
FILE(APPEND ${EMsoft_SDK_FILE} "set(NLopt_DIR \"\${EMsoft_SDK_ROOT}/${extProjectName}-${NLopt_VERSION}/lib/cmake/${extProjectName}\" CACHE PATH \"\")\n")
else()
FILE(APPEND ${EMsoft_SDK_FILE} "set(NLopt_DIR \"\${EMsoft_SDK_ROOT}/${extProjectName}-${NLopt_VERSION}-\${BUILD_TYPE}/lib64/cmake/lib${extProjectName}\" CACHE PATH \"\")\n")
FILE(APPEND ${EMsoft_SDK_FILE} "set(NLopt_DIR \"\${EMsoft_SDK_ROOT}/${extProjectName}-${NLopt_VERSION}-\${BUILD_TYPE}/lib64/cmake/${extProjectName}\" CACHE PATH \"\")\n")
endif()
FILE(APPEND ${EMsoft_SDK_FILE} "set(CMAKE_MODULE_PATH \${CMAKE_MODULE_PATH} \${NLopt_DIR})\n")
FILE(APPEND ${EMsoft_SDK_FILE} "set(NLopt_VERSION \"${NLopt_VERSION}\" CACHE STRING \"\")\n")

0 comments on commit 32dfd43

Please sign in to comment.