Add code to return early in CMakeLists to prevent being included again.
This commit is contained in:
parent
2f65eda7bd
commit
d808f98fd3
|
@ -1,4 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 2.7)
|
cmake_minimum_required(VERSION 2.7)
|
||||||
|
|
||||||
|
if(TARGET lex)
|
||||||
|
return()
|
||||||
|
endif(TARGET lex)
|
||||||
|
|
||||||
project(liblex)
|
project(liblex)
|
||||||
|
|
||||||
add_library(lex STATIC src/pattern.c src/pairmap.c src/eval.c)
|
add_library(lex STATIC src/pattern.c src/pairmap.c src/eval.c)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user