mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake: Cleanup include paths
This commit is contained in:
parent
6db13311dd
commit
ffd440ccff
@ -35,7 +35,7 @@ string(REGEX MATCHALL ".." LICENSE_TEXT "${LICENSE_TEXT}")
|
|||||||
string(REGEX REPLACE ";" ",\n\t0x" LICENSE_TEXT "${LICENSE_TEXT}")
|
string(REGEX REPLACE ";" ",\n\t0x" LICENSE_TEXT "${LICENSE_TEXT}")
|
||||||
set(LICENSE_TEXT "0x${LICENSE_TEXT}")
|
set(LICENSE_TEXT "0x${LICENSE_TEXT}")
|
||||||
|
|
||||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/templates/license.h.in" "license.h")
|
configure_file("${CMAKE_SOURCE_DIR}/cmake/templates/license.h.in" include/license.h)
|
||||||
|
|
||||||
include(EthOptions)
|
include(EthOptions)
|
||||||
configure_project(TESTS)
|
configure_project(TESTS)
|
||||||
|
@ -39,5 +39,5 @@ function(create_build_info NAME)
|
|||||||
-DPROJECT_VERSION="${PROJECT_VERSION}"
|
-DPROJECT_VERSION="${PROJECT_VERSION}"
|
||||||
-P "${ETH_SCRIPTS_DIR}/buildinfo.cmake"
|
-P "${ETH_SCRIPTS_DIR}/buildinfo.cmake"
|
||||||
)
|
)
|
||||||
include_directories(BEFORE ${PROJECT_BINARY_DIR})
|
include_directories("${PROJECT_BINARY_DIR}/include")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -48,10 +48,3 @@ option(Boost_USE_STATIC_LIBS "Link Boost statically" ON)
|
|||||||
find_package(Boost 1.54.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options system)
|
find_package(Boost 1.54.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options system)
|
||||||
|
|
||||||
eth_show_dependency(Boost boost)
|
eth_show_dependency(Boost boost)
|
||||||
|
|
||||||
if (APPLE)
|
|
||||||
link_directories(/usr/local/lib)
|
|
||||||
include_directories(/usr/local/include)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include_directories(BEFORE "${PROJECT_BINARY_DIR}/include")
|
|
||||||
|
@ -2,4 +2,4 @@ file(GLOB sources "*.cpp")
|
|||||||
file(GLOB headers "*.h")
|
file(GLOB headers "*.h")
|
||||||
|
|
||||||
add_library(evmasm ${sources} ${headers})
|
add_library(evmasm ${sources} ${headers})
|
||||||
target_link_libraries(evmasm PUBLIC devcore jsoncpp)
|
target_link_libraries(evmasm PUBLIC jsoncpp devcore)
|
||||||
|
Loading…
Reference in New Issue
Block a user