WSL/SLF GitLab Repository
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
meteoio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
snow-models
meteoio
Commits
95638ae6
Commit
95638ae6
authored
Jul 27, 2012
by
Mathias Bavay
Browse files
Options
Downloads
Patches
Plain Diff
Simplification of FindPopc.cmake and minor fix in CMakeLists.txt
parent
acd2187f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-6
6 additions, 6 deletions
CMakeLists.txt
tools/cmake/FindPopc.cmake
+2
-3
2 additions, 3 deletions
tools/cmake/FindPopc.cmake
with
8 additions
and
9 deletions
CMakeLists.txt
+
6
−
6
View file @
95638ae6
...
...
@@ -100,7 +100,7 @@ SET(POPC OFF CACHE BOOL "Compile for POPC ON or OFF")
###########################################################
#finally, SET compile flags
if
(
POPC
)
IF
(
POPC
)
#SET(POPC_FLAGS "-cxxmain -Dcerr=\\\"cout\\\"")
SET
(
POPC_FLAGS
"-cxxmain"
)
ENDIF
(
POPC
)
...
...
This diff is collapsed.
Click to expand it.
tools/cmake/FindPopc.cmake
+
2
−
3
View file @
95638ae6
...
...
@@ -3,9 +3,8 @@ INCLUDE(LibFindMacros)
FIND_PROGRAM
(
POPCC_EXECUTABLE popcc
)
MARK_AS_ADVANCED
(
FORCE POPCC_EXECUTABLE
)
#build POPC_ROOT so we can provide a hint for searching for the header file
IF
(
"
${
POPCC_EXECUTABLE
}
"
MATCHES
"^(.+)bin[
\\
/]popcc(.*)$"
)
SET
(
POPC_ROOT
"
${
CMAKE_MATCH_1
}
"
)
ENDIF
(
"
${
POPCC_EXECUTABLE
}
"
MATCHES
"^(.+)bin[
\\
/]popcc(.*)$"
)
GET_FILENAME_COMPONENT
(
popc_exe_root
${
POPCC_EXECUTABLE
}
PATH
)
SET
(
POPC_ROOT
"
${
popc_exe_root
}
/../"
)
# Finally the library itself
FIND_LIBRARY
(
Popc_LIBRARY
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment