ENH: fix bug where sharedforward would not work if there was a space in the path...
[cmake.git] / Tests / LinkLine / CMakeLists.txt
blobc8f0ecf633b9b83c2e1b35a27d60bbaf6871d4ea
1 PROJECT( LinkLine )
3 # Makes sure that the library order as specified by the user are
4 # unchanged by dependency analysis, etc.  libOne and libTwo are
5 # dependent on each other. The link line should be -lOne -lTwo -lOne.
7 ADD_LIBRARY( One One.c )
8 ADD_LIBRARY( Two Two.c )
10 LINK_LIBRARIES( One Two )
11 ADD_EXECUTABLE( LinkLine Exec.c )
12 LINK_LIBRARIES( One )