-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix silverlining/triton build issues
- Loading branch information
Showing
3 changed files
with
16 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
INCLUDE_DIRECTORIES(${OSG_INCLUDE_DIRS}) | ||
SET(TARGET_LIBRARIES_VARS OSG_LIBRARY OSGDB_LIBRARY OSGGA_LIBRARY OSGUTIL_LIBRARY OSGVIEWER_LIBRARY OPENTHREADS_LIBRARY) | ||
add_osgearth_app( | ||
TARGET osgearth_silverlining | ||
SOURCES osgearth_silverlining.cpp | ||
FOLDER Tests ) | ||
|
||
SET(TARGET_COMMON_LIBRARIES ${TARGET_COMMON_LIBRARIES} osgEarthSilverLining) | ||
|
||
SET(TARGET_SRC osgearth_silverlining.cpp ) | ||
|
||
#### end var setup ### | ||
SETUP_APPLICATION(osgearth_silverlining) | ||
target_link_libraries(osgearth_silverlining PRIVATE osgEarthSilverLining ${OPENGL_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,6 @@ | ||
# Triton example | ||
# Later, if we want to link in the Triton library directly | ||
# to use the Triton API, uncomment the include and lib | ||
# below. | ||
add_osgearth_app( | ||
TARGET osgearth_triton | ||
SOURCES osgearth_triton.cpp | ||
FOLDER Tests ) | ||
|
||
INCLUDE_DIRECTORIES( | ||
${OSG_INCLUDE_DIRS} | ||
) | ||
|
||
# 3rd party: | ||
SET(TARGET_LIBRARIES_VARS | ||
OSG_LIBRARY | ||
OSGDB_LIBRARY | ||
OSGGA_LIBRARY | ||
OSGUTIL_LIBRARY | ||
OSGVIEWER_LIBRARY | ||
OPENTHREADS_LIBRARY | ||
) | ||
|
||
# osgEarth: | ||
SET(TARGET_COMMON_LIBRARIES ${TARGET_COMMON_LIBRARIES} osgEarthTriton) | ||
|
||
SET(TARGET_SRC osgearth_triton.cpp) | ||
|
||
#### end var setup ### | ||
SETUP_APPLICATION(osgearth_triton) | ||
target_link_libraries(osgearth_triton PRIVATE osgEarthTriton ${OPENGL_LIBRARIES}) |