Skip to content

Commit

Permalink
Reset environment variables to prevent boost program options duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube committed Jul 6, 2016
1 parent f239252 commit 5639a9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion external_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# for each subdirectory containing a CMakeLists.txt, add that subdirectory

set( ENV{STEEMIT_EXTERNAL_PLUGINS} "" )
file( GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
foreach( child ${children} )
if( IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${child}" )
Expand Down
4 changes: 1 addition & 3 deletions libraries/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

# for each subdirectory containing a CMakeLists.txt, add that subdirectory

file( GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
set( ENV{STEEMIT_EXTERNAL_PLUGINS} "" )
set( ENV{STEEMIT_INTERNAL_PLUGINS} "" )
file( GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
foreach( child ${children} )
if( IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${child}" )
if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${child}/CMakeLists.txt" )
Expand Down

0 comments on commit 5639a9b

Please sign in to comment.