[CMake] [MSVC] LINK_DIRECTORY do not add directories to project
David Cole
david.cole at kitware.com
Tue Feb 7 11:25:05 EST 2006
Are GMCAO and friends CMake variables...? If so, you need to reference
them with curly braces, not parens.
LINK_DIRECTORIES(${GMCAO}/tech/lib ${GMCAO}/GMCAO/lib ...
Is that it?
Vincent Daanen wrote:
> Dear cmake users,
>
> I wrote a CMakeLists.txt to create a MSVC 6.0 project.
> The problem is that the link directories are not added to the projet !
>
> here is the cmakelists.txt line :
> LINK_DIRECTORIES($(GMCAO)/tech/lib $(GMCAO)/GMCAO/lib
> $(HTMLHELP_DIR)/Lib $(TIMC_DIR)/DicomTools/lib/Mfc
> $(TIMC_DIR)/ArrayTimcNew/lib/Mfc)
>
> do I miss something ?
>
> please help
>
> Vincent
>
More information about the CMake
mailing list